<?php
//切割

namespace app\admin\controller\ProduceProcesses;

use app\admin\controller\ProduceProcesses;

class Slicing extends ProduceProcesses
{

    protected $middleware = ['app\admin\middleware\TableFields::class'];  //获取表结构，添加在返回数据中
    public $index_not_display_fields = 'id,update_time';  //字段不会在后台列表页，字段选择中显示
   public function lists()
   {
       $_GET['processes_id'] = 1; //工序id
       $this->request->withGet($_GET);
       return (new ProduceProcesses(app()))->index();
   }
}